package com.hzya.frame.hr.company.entity;
import java.util.Date;

import com.hzya.frame.hr.staff.entity.StaffEntity;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import com.hzya.frame.utils.core.entity.BaseEntity;
/**
 * @description: 企业管理  
 * @tableName:   hr_company 
 * @entityName:  CompanyEntity
 * @author: 	 gjh
 * @history:	 1.0
 */
public class  CompanyEntity extends BaseEntity {

	/** 中文名称 */
	private String chinas_name;
	/** 英文名称 */
	private String english_name;
	/** 法人代表  存放员工表id */
	private Long representative;
	/** 法人entity*/
	private StaffEntity representativeEntity;
	/** 员工id(负责人) */
	private Long person_in_charge;
	/** 负责人Entity*/
	private StaffEntity person_in_chargeEntity;
	/** 组织机构代码 */
	private String organization_code;
	/** 公司性质 */
	private String nature_of_business;
	/** 电话 */
	private String telephone;
	/** 传真 */
	private String facsimile;
	/** 邮箱 */
	private String mailbox;
	/** 成立时间 */
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date establish_time;
	/** 地址 */
	private String address;
	/** 经营范围 */
	private String scope_of_business;
	/** 邮编 */
	private String zip_code;
	/** 官网 */
	private String official_network;
	/** 备注 */
	private String remarks;
	/** 上级公司ID */
	private Long up_id;

	/** 中文名称 */
	public void setChinas_name(String chinas_name) {
		this.chinas_name = chinas_name;
	}
	/** 中文名称 */
	public String getChinas_name() {
		return chinas_name;
	}
	/** 英文名称 */
	public void setEnglish_name(String english_name) {
		this.english_name = english_name;
	}
	/** 英文名称 */
	public String getEnglish_name() {
		return english_name;
	}

	public Long getPerson_in_charge() {
		return person_in_charge;
	}

	public void setPerson_in_charge(Long person_in_charge) {
		this.person_in_charge = person_in_charge;
	}

	public Long getRepresentative() {
		return representative;
	}

	public void setRepresentative(Long representative) {
		this.representative = representative;
	}

	/** 组织机构代码 */
	public void setOrganization_code(String organization_code) {
		this.organization_code = organization_code;
	}
	/** 组织机构代码 */
	public String getOrganization_code() {
		return organization_code;
	}
	/** 公司性质 */
	public void setNature_of_business(String nature_of_business) {
		this.nature_of_business = nature_of_business;
	}
	/** 公司性质 */
	public String getNature_of_business() {
		return nature_of_business;
	}
	/** 电话 */
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	/** 电话 */
	public String getTelephone() {
		return telephone;
	}
	/** 传真 */
	public void setFacsimile(String facsimile) {
		this.facsimile = facsimile;
	}
	/** 传真 */
	public String getFacsimile() {
		return facsimile;
	}
	/** 邮箱 */
	public void setMailbox(String mailbox) {
		this.mailbox = mailbox;
	}
	/** 邮箱 */
	public String getMailbox() {
		return mailbox;
	}
	public void setEstablish_time(Date establish_time) {
		this.establish_time = establish_time;
	}
	/** 成立时间 */
	public Date getEstablish_time() {
		return establish_time;
	}
	/** 地址 */
	public void setAddress(String address) {
		this.address = address;
	}
	/** 地址 */
	public String getAddress() {
		return address;
	}
	/** 经营范围 */
	public void setScope_of_business(String scope_of_business) {
		this.scope_of_business = scope_of_business;
	}
	/** 经营范围 */
	public String getScope_of_business() {
		return scope_of_business;
	}
	/** 邮编 */
	public void setZip_code(String zip_code) {
		this.zip_code = zip_code;
	}
	/** 邮编 */
	public String getZip_code() {
		return zip_code;
	}
	/** 官网 */
	public void setOfficial_network(String official_network) {
		this.official_network = official_network;
	}
	/** 官网 */
	public String getOfficial_network() {
		return official_network;
	}
	/** 备注 */
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	/** 备注 */
	public String getRemarks() {
		return remarks;
	}
	/** 上级公司ID */
	public void setUp_id(Long up_id) {
		this.up_id = up_id;
	}
	/** 上级公司ID */
	public Long getUp_id() {
		return up_id;
	}

	public StaffEntity getRepresentativeEntity() {
		return representativeEntity;
	}

	public void setRepresentativeEntity(StaffEntity representativeEntity) {
		this.representativeEntity = representativeEntity;
	}

	public StaffEntity getPerson_in_chargeEntity() {
		return person_in_chargeEntity;
	}

	public void setPerson_in_chargeEntity(StaffEntity person_in_chargeEntity) {
		this.person_in_chargeEntity = person_in_chargeEntity;
	}
}
